package com.john.design.七大原则.依赖倒置原则;

/**
 * @Author: JohnCoding
 * @Description:
 * @date: 2020/8/9 16:00
 */
public class John {

    private ICourse iCourse;


    public void studyImoocCourse(){
        iCourse.studyCourse();
    }

    public void setiCourse(ICourse iCourse) {
        this.iCourse = iCourse;
    }
}
